x86emul: properly refuse LOCK on most 0FC7 insns
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Sep 2017 09:04:20 +0000 (11:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Sep 2017 09:04:20 +0000 (11:04 +0200)
commitf122fc2e3520e7af45d3bae9606ce5b8ac5ef887
tree82d71548e80bbaedb3613357216f9352a69968d8
parentc4169f955d7ce3004715ffcb9f706f143e9e78ae
x86emul: properly refuse LOCK on most 0FC7 insns

When adding support for RDRAND/RDSEED/RDPID I didn't remember to also
update this special early check. Make it (hopefully) future-proof by
also refusing VEX-encodings.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c